<?php
hc_core_ClassLoader::load('substrate_objects_AbstractFactoryObject');
hc_core_ClassLoader::load('repose_Configuration');
hc_core_ClassLoader::load('repose_SessionFactory');
class substrate_orm_repose_SessionFactoryFactoryObject extends substrate_objects_AbstractFactoryObject {
    private $configuration;
    public function __construct($configuration) {
        if ( ! isset($configuration['autoload']) ) {
            $configuration['autoload'] = array($this, 'autoloadHandler');
        }
        $this->configuration = $configuration;
    }
    public function createInstance() {
        $configuration = new repose_Configuration($this->configuration);
        return $configuration->buildSessionFactory();
    }
    public function getObjectType() {
        return repose_SessionFactory.getClass();
    }
    public function autoloadHandler($clazz) {
        hc_core_ClassLoader::load($clazz);
    }
}
?>
